@echo off

cd %~dp0/../../../../
call mvn -amd mybatis-generator:generate

@if errorlevel 1 (
@echo ----------------------------------------------
@echo   ****错误***: 请设置好JAVA_HOME环境变量再运行或者检查你的classpath路径
@pause
)

:end
